console.log(location.search);
var str = location.search;
$.ajax({
  type: "GET",
    url: "/api/brand/detail" + str,
    success: function (res) {
        console.log(res.data);
        var htmlStr = template('tpl-info', res.data) 
        $('.brand-info').html(htmlStr)
  }
});